package com.example.erp.bus.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/bus")
public class BusinessController {

    /**
     * 去到客户管理页面
     *
     * @return
     */
    @RequestMapping("/toCustomerManager")
    public String toCustomerManager() {
        return "business/customer/customerManager";
    }

    /**
     * 去到商品分类管理页面-Left
     *
     * @return
     */
    @RequestMapping("/toGoodstypeLeft")
    public String toGoodstypeLeft() {
        return "business/goodstype/left";
    }

    /**
     * 去到商品分类管理页面-Right
     *
     * @return
     */
    @RequestMapping("/toGoodstypeRight")
    public String toGoodstypeRight() {
        return "business/goodstype/right";
    }

    /**
     * 去到商品分类管理页面
     *
     * @return
     */
    @RequestMapping("/toGoodstypeManager")
    public String toGoodstypeManager() {
        return "business/goodstype/goodstypeManager";
    }

    /**
     * 去到供应商管理页面
     *
     * @return
     */
    @RequestMapping("/toSupplierManager")
    public String toSupplierManager() {
        return "business/supplier/supplierManager";
    }

    /**
     * 去到商品管理页面-Left
     *
     * @return
     */
    @RequestMapping("/toGoodsLeft")
    public String toGoodsLeft() {
        return "business/goods/left";
    }

    /**
     * 去到商品管理页面-Right
     *
     * @return
     */
    @RequestMapping("/toGoodsRight")
    public String toGoodsRight() {
        return "business/goods/right";
    }

    /**
     * 去到商品管理页面
     *
     * @return
     */
    @RequestMapping("/toGoodsManager")
    public String toGoodsManager() {
        return "business/goods/goodsManager";
    }
}
